package com.zcxy360.sandtable.domain;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.zcxy360.sandtable.domain.Video;
import com.zcxy360.sandtable.domain.VideoExample;

@Mapper
public interface VideoMapper {
	
//	
	Video selectByPrimaryKeyWithExtra(Integer videoId);
	List<Video> listWithExtra(@Param("video") Video video, @Param("key") String key, @Param("orderByClause") String orderByClause,@Param("sign") Integer sign);
	int deleteBatch(int[] videoIds);
//	

	
    long countByExample(VideoExample example);

    int deleteByExample(VideoExample example);

    int deleteByPrimaryKey(Integer videoId);

    int insert(Video record);

    int insertSelective(Video record);

    List<Video> selectByExampleWithBLOBs(VideoExample example);

    List<Video> selectByExample(VideoExample example);

    Video selectByPrimaryKey(Integer videoId);

    int updateByExampleSelective(@Param("record") Video record, @Param("example") VideoExample example);

    int updateByExampleWithBLOBs(@Param("record") Video record, @Param("example") VideoExample example);

    int updateByExample(@Param("record") Video record, @Param("example") VideoExample example);

    int updateByPrimaryKeySelective(Video record);

    int updateByPrimaryKeyWithBLOBs(Video record);

    int updateByPrimaryKey(Video record);

}